package com.feidee.data.report.dao;

import com.alibaba.fastjson.JSONObject;
import com.feidee.data.report.model.FunnelResult;

import java.util.List;
import java.util.Map;

public interface IRedisDao {
	List<FunnelResult> queryFunnelResult(String key);

	Map<Map<String, JSONObject>, Map<String, JSONObject>> queryRealTimeReportResult(String key);

	void insertList(String key, List<?> list);

	void insertListWithLife(String key, List<?> list, int lifeTime);

	void insertMap(String key, Map<?, ?> list);

	void insertMapWithLife(String key, Map<?, ?> list, int lifeTime);
}
